package com.lagou.edu.pojo;

import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName BeanDefinition
 * @Description TODO
 * @Auth ying.xiao
 * @Date 2021/2/7
 * @Version 1.0.0
 */
public class BeanDefinition {

    // bean id属性
    private String id;

    //bean class属性
    private String beanClass;

    //scan 属性
    private String packageName;

    //bean property属性
    private Map<String,String> propertys = new HashMap();

    //是否处理事务
    private Map<Method, Boolean> methodMap = new HashMap<>();


    public Map<Method, Boolean> getMethodMap() {
        return methodMap;
    }

    public void setMethodMap(Map<Method, Boolean> methodMap) {
        this.methodMap = methodMap;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(String beanClass) {
        this.beanClass = beanClass;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Map<String, String> getPropertys() {
        return propertys;
    }

    public void setPropertys(Map<String, String> propertys) {
        this.propertys = propertys;
    }
}
